// main.cpp
#include "server/ChatServer.h"
#include <iostream>

int main() {
    ChatServer server(8080);
    
    if (server.start()) {
        std::cout << "Chat server running. Press Enter to stop..." << std::endl;
        std::cin.get();
        server.stop();
        std::cout << "Server stopped" << std::endl;
    }
    
    return 0;
}